{*Smarty*}
<html>
<head>
<title>Users</title>
<link rel="stylesheet" type="text/css" href="/default.css" />
</head>
<body>

{if $error}
  <div class="status">{$error}</div> 
{/if}

<div style="float:left;">

<div class="commands">
  Sort by: 
  <a href="/reg/users">name</a>,
  <a href="/reg/users?sort_by=create_date">date</a>
</div>

<div class="table">
  <div class="frow">
  	<div class="fcol">Name</div>
    <div class="col">E-mail</div>
    <div class="col">Birthday</div>
    <div class="col">Signed up</div>
  </div>
  {foreach name=users item=user from=$users}
    <div class="{cycle values="row1,row2"}">
      <div class="fcol">{$user.name}</div>
      <div class="col">{$user.email}</div>
      <div class="col">{$user.birthday}</div>
      <div class="col">{$user.create_date}</div>
    </div>
  {/foreach}  
</div>

<div style="margin:20px 0 0 0;">
	<a href="signup">Add me too!</a>
<div

</div>

</body>
</html>